package com.mrd.gtimpframe.entity;


import com.mrd.util.StringUtils;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * T_BIZ_DECLARATION
 *
 * @author dusy  2017-08-04 报关业务信息表
 */
public class Declaration extends BaseBusiness implements Serializable {
    /**
     * null
     */
    private String id;

    /**
     * 预录入编号(旧)
     */
    private String sno;

    /**
     * 提单号(旧)
     */
    private String blNo;

    /**
     * 经营单位编号(旧)
     */
    private String companyCo;

    /**
     * 发货单位编号(旧)
     */
    private String fahuoCompanyCo;

    /**
     * 运输工具名称(旧)
     */
    private String transportNa;

    /**
     * 航次号(旧)
     */
    private String voyageNo;

    /**
     * 运抵国(旧)
     */
    private String arrivedCountry;

    /**
     * 指运港(旧)
     */
    private String arrivedPort;

    /**
     * 境内货源地(旧)
     */
    private String goodsAddr;

    /**
     * 批准文号(旧)
     */
    private String approvalNo;

    /**
     * 成交方式(旧)
     */
    private String dealMode;

    /**
     * 件数(旧)
     */
    private String goodsCount;

    /**
     * 包装种类(旧)
     */
    private String goodsPackage;

    /**
     * 净重(旧)
     */
    private String netWeight;

    /**
     * 备注(旧)
     */
    private String remark;

    /**
     * 贸易方式/监管方式(旧)
     */
    private String tradeMode;

    /**
     * 经营单位名称(旧)
     */
    private String companyName;

    /**
     * 运输方式(旧)
     */
    private String transportMode;

    /**
     * 发货单位名称(旧)
     */
    private String fahuoCompanyName;

    /**
     * 征免性质(旧)
     */
    private String levymode;

    /**
     * 结汇方式(旧)
     */
    private String lcType;

    /**
     * 合同协议号(旧)
     */
    private String contractNo;

    /**
     * 毛重(旧)
     */
    private String grossWeight;

    /**
     * 报关单类型(旧)
     */
    private String customsType;

    /**
     * 备案号(旧)
     */
    private String recordId;

    /**
     * 出口日期(旧)
     */
    private Date exportDate;

    /**
     * 申报单位编码(旧)
     */
    private String shenbaoCompanyCo;

    /**
     * 申报单位名称(旧)
     */
    private String shenbaoCompanyName;

    /**
     * 运费数量(旧)
     */
    private String freight1;

    /**
     * 运费费率(旧)
     */
    private String freight2;

    /**
     * 运费币制(旧)
     */
    private String freight3;

    /**
     * 保费数量(旧)
     */
    private String premium1;

    /**
     * 保费费率(旧)
     */
    private String premium2;

    /**
     * 保费币制(旧)
     */
    private String premium3;

    /**
     * 杂费数量(旧)
     */
    private String otherfee1;

    /**
     * 杂费费率(旧)
     */
    private String otherfee2;

    /**
     * 杂费币制(旧)
     */
    private String otherfee3;

    /**
     * 关联报关单(旧)
     */
    private String reManifest;

    /**
     * 关联备案(旧)
     */
    private String reRecordId;

    /**
     * 监管仓号(旧)
     */
    private String reJianguan;

    /**
     * 货场代码(旧)
     */
    private String reYardId;

    /**
     * 出口口岸(旧)
     */
    private String exportPort;

    /**
     * 纳税单位(旧)
     */
    private String texCompany;

    /**
     * 许可证号(旧)
     */
    private String licenseNo;

    /**
     * 随附单证(旧)
     */
    private String suifudan;

    /**
     * 船名(旧)
     */
    private String shipName;

    /**
     * 报关报检业务状态(旧)
     */
    private String state;

    /**
     * 报关状态(旧)
     */
    private String customStatus;

    /**
     * 海关放行时间(旧)
     */
    private Date customTime;

    /**
     * 报检状态(旧)
     */
    private String checkStatus;

    /**
     * 商检放行时间(旧)
     */
    private Date checkTime;

    /**
     * 关联上传的分柜资料文件(旧)
     */
    private String containerinfoFileId;

    /**
     * 申报日期(旧)
     */
    private Date reportDate;

    /**
     * 生产厂家(旧)
     */
    private String produceFactory;

    /**
     * 集装箱号(旧)
     */
    private String containerNo;

    /**
     * 卖家
     */
    private String seller;

    /**
     * 卖家地址
     */
    private String sellerAddress;

    /**
     * 卖家电话
     */
    private String sellerPhone;

    /**
     * 卖家传真
     */
    private String sellerFax;

    /**
     * 箱唛
     */
    private String carton;

    /**
     * 买方
     */
    private String buyer;

    /**
     * 发票号
     */
    private String invoiceNo;

    /**
     * 有无木质包装
     */
    private String isWoodPackaging;

    /**
     * 合同备注
     */
    private String contractRemark;

    /**
     * 出口口岸代码
     */
    private String exportPortCode;

    /**
     * 贸易方式/监管方式代码
     */
    private String tradeModeCode;

    /**
     * 货物总金额
     */
    private String totalMoney;

    /**
     * 总计价数量
     */
    private String sumCount;

    /**
     * so号
     */
    private String so;

    /**
     * 签约日期
     */
    private Date contractDate;

    /**
     * 制单日期
     */
    private Date makingDate;

    /**
     * 签约地点
     */
    private String singingPlace;

    /**
     * 具体包装类型
     */
    private String concreteGoodsPackage;

    /**
     * 三联单编号
     */
    private String workNo;

    /**
     * 是否手册T：是 ，F：不是
     */
    private String isRecordInfo;

    /**
     * 条款类型0 ：无模板，1：有模板
     */
    private String contractTermsType;

    /**
     * 其他货源地
     */
    private String otherGoodsAddr;

    /**
     * 申报口岸
     */
    private String declarationPort;

    /**
     * 申报口岸代码
     */
    private String declarationPortCode;

    /**
     * 用于展示的柜号
     */
    private String containerNoShow;

    /**
     * 是否柜货 （散货、柜货）
     */
    private String isShipment;

    /**
     * 付款类型 0：未付款，1：已付款 2：免费
     */
    private String paymentType;

    /**
     * 征免性质代码
     */
    private String levymodeCode;

    /**
     * 境内货源地代码
     */
    private String goodsAddrCode;

    /**
     * 运抵国代码
     */
    private String arrivedCountryCode;

    /**
     * 指运港代码
     */
    private String arrivedPortCode;

    /**
     * 贸易国
     */
    private String tradingCountry;

    /**
     * 贸易国代码
     */
    private String tradingCountryCode;

    /**
     * 特殊关系确认
     */
    private String specialRelationshipConfirm;

    /**
     * 价格影响确认
     */
    private String priceImpactConfirm;

    /**
     * 支付特许权使用费确认
     */
    private String paymentRoyaltilsConfirm;

    /**
     * 经营单位编号18位社会统一代码
     */
    private String companyCoUnite;

    /**
     * 发货单位编号18位社会统一代码
     */
    private String fahuoCompanyCoUnite;

    /**
     * 申报单位编码18位社会统一代码
     */
    private String shenbaoCompanyCoUnite;

    /**
     * 上传报关底单ID
     */
    private String didanFileId;

    /**
     * null
     */
    private String dataType;

    /**
     * null
     */
    private String shipCode;

    /**
     * 报关单进出口类型,E出口，I进口
     */
    private String declarationType;

    /**
     * 统一编号
     */
    private String unityno;

    /**
     * 申报状态
     */
    private String declareState;

    /**
     * 申报地海关
     */
    private String declareCustoms;

    /**
     * 申报地海关代码
     */
    private String declareCustomsCode;

    /**
     * 报关类型
     */
    private String declareType;

    /**
     * 报关类型代码
     */
    private String customsTypeCode;

    /**
     * 包装种类代码
     */
    private String goodsPackageCode;

    /**
     * 运输方式代码
     */
    private String transportModeCode;

    /**
     * （经营单位）收发货人名称
     */
    private String companyNaem;

    /**
     * 0正常报关 1转关提前报关
     */
    private String declarUp;

    /**
     * 贸易类型，0一般贸易，1加工贸易，2特殊贸易
     */
    private String tradeType;

    /**
     * 记录客户的复制、使用模板、暂存、提交的动作, C：复制，s:保存，S：提交， M：使用模板， 2：2.0页面，3：3.0页面； 被驳回的单可能会出现SS相接的情况
     */
    private String actionChain;

    /**
     * 客户支付时间
     */
    private Date paymentTime;

    /**
     * 驳回记录
     */
    private RejectRecord rejectRecord;

    /**
     * 供应商
     */
    private Company supCompany;
    /**
     * 下单公司
     */
    private Company customerCompany;

    /**
     * 商品项数
     */
    private String goodsItemNum;

    /**
     * 集装箱柜数
     */
    private String containerNum;

    /**
     * 锁定状态 0：解锁，1：锁定
     */
    private String lockStatus;

    /**
     * 5.0查验跟踪
     */
    private List<DeclaCheckTracking> declaCheckTrackingList;
    /**
     * 电子口岸状态
     */
    private String declaStatus;
    /**
     * 电子口岸上传渠道
     */
    private String uploadWay;
    /**
     * 随附单
     */
    private List<LicenseDocu> licenseDocuList;
    /**
     * 集装箱
     */
    private List<Container> containerList;
    /**
     * 商品
     */
    private List<Commodity> commodityList;
    /**
     * 关检号/预录入号
     */
    private String invNo;
    /**
     * 确认三联单状态，0：未确认，1-已确认
     */
    private String confirmType;
    /**
     * 确认三联单时间
     */
    private String confirmTypeTime;
    /**
     * 电子口岸失败提示
     */
    private String failInfo;

    public String getConfirmType() {
        return confirmType;
    }

    public void setConfirmType(String confirmType) {
        this.confirmType = confirmType;
    }

    public String getConfirmTypeTime() {
        return confirmTypeTime;
    }

    public void setConfirmTypeTime(String confirmTypeTime) {
        this.confirmTypeTime = confirmTypeTime;
    }

    /**
     * T_BIZ_DECLARATION
     */
    private static final long serialVersionUID = 1L;

    public RejectRecord getRejectRecord() {
        return rejectRecord;
    }

    public void setRejectRecord(RejectRecord rejectRecord) {
        this.rejectRecord = rejectRecord;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno == null ? null : sno.trim();
    }

    public String getBlNo() {
        return blNo;
    }

    public void setBlNo(String blNo) {
        this.blNo = blNo == null ? null : blNo.trim();
    }

    public String getCompanyCo() {
        return companyCo;
    }

    public void setCompanyCo(String companyCo) {
        this.companyCo = companyCo == null ? null : companyCo.trim();
    }

    public String getFahuoCompanyCo() {
        return fahuoCompanyCo;
    }

    public void setFahuoCompanyCo(String fahuoCompanyCo) {
        this.fahuoCompanyCo = fahuoCompanyCo == null ? null : fahuoCompanyCo.trim();
    }

    public String getTransportNa() {
        return transportNa;
    }

    public void setTransportNa(String transportNa) {
        this.transportNa = transportNa == null ? null : transportNa.trim();
    }

    public String getVoyageNo() {
        return voyageNo;
    }

    public void setVoyageNo(String voyageNo) {
        this.voyageNo = voyageNo == null ? null : voyageNo.trim();
    }

    public String getArrivedCountry() {
        return arrivedCountry;
    }

    public void setArrivedCountry(String arrivedCountry) {
        this.arrivedCountry = arrivedCountry == null ? null : arrivedCountry.trim();
    }

    public String getArrivedPort() {
        return arrivedPort;
    }

    public void setArrivedPort(String arrivedPort) {
        this.arrivedPort = arrivedPort == null ? null : arrivedPort.trim();
    }

    public String getGoodsAddr() {
        return goodsAddr;
    }

    public void setGoodsAddr(String goodsAddr) {
        this.goodsAddr = goodsAddr == null ? null : goodsAddr.trim();
    }

    public String getApprovalNo() {
        return approvalNo;
    }

    public void setApprovalNo(String approvalNo) {
        this.approvalNo = approvalNo == null ? null : approvalNo.trim();
    }

    public String getDealMode() {
        return dealMode;
    }

    public void setDealMode(String dealMode) {
        this.dealMode = dealMode == null ? null : dealMode.trim();
    }

    public String getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(String goodsCount) {
        this.goodsCount = goodsCount == null ? null : goodsCount.trim();
    }

    public String getGoodsPackage() {
        return goodsPackage;
    }

    public void setGoodsPackage(String goodsPackage) {
        this.goodsPackage = goodsPackage == null ? null : goodsPackage.trim();
    }

    public String getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(String netWeight) {
        this.netWeight = netWeight == null ? null : netWeight.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getTradeMode() {
        return tradeMode;
    }

    public void setTradeMode(String tradeMode) {
        this.tradeMode = tradeMode == null ? null : tradeMode.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getTransportMode() {
        return transportMode;
    }

    public void setTransportMode(String transportMode) {
        this.transportMode = transportMode == null ? null : transportMode.trim();
    }

    public String getFahuoCompanyName() {
        return fahuoCompanyName;
    }

    public void setFahuoCompanyName(String fahuoCompanyName) {
        this.fahuoCompanyName = fahuoCompanyName == null ? null : fahuoCompanyName.trim();
    }

    public String getLevymode() {
        return levymode;
    }

    public void setLevymode(String levymode) {
        this.levymode = levymode == null ? null : levymode.trim();
    }

    public String getLcType() {
        return lcType;
    }

    public void setLcType(String lcType) {
        this.lcType = lcType == null ? null : lcType.trim();
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo == null ? null : contractNo.trim();
    }

    public String getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(String grossWeight) {
        this.grossWeight = grossWeight == null ? null : grossWeight.trim();
    }

    public String getCustomsType() {
        return customsType;
    }

    public void setCustomsType(String customsType) {
        this.customsType = customsType == null ? null : customsType.trim();
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId == null ? null : recordId.trim();
    }

    public Date getExportDate() {
        return exportDate;
    }

    public void setExportDate(Date exportDate) {
        this.exportDate = exportDate;
    }

    public String getShenbaoCompanyCo() {
        return shenbaoCompanyCo;
    }

    public void setShenbaoCompanyCo(String shenbaoCompanyCo) {
        this.shenbaoCompanyCo = shenbaoCompanyCo == null ? null : shenbaoCompanyCo.trim();
    }

    public String getShenbaoCompanyName() {
        return shenbaoCompanyName;
    }

    public void setShenbaoCompanyName(String shenbaoCompanyName) {
        this.shenbaoCompanyName = shenbaoCompanyName == null ? null : shenbaoCompanyName.trim();
    }

    public String getFreight1() {
        return freight1;
    }

    public void setFreight1(String freight1) {
        this.freight1 = freight1 == null ? null : freight1.trim();
    }

    public String getFreight2() {
        return freight2;
    }

    public void setFreight2(String freight2) {
        this.freight2 = freight2 == null ? null : freight2.trim();
    }

    public String getFreight3() {
        return freight3;
    }

    public void setFreight3(String freight3) {
        this.freight3 = freight3 == null ? null : freight3.trim();
    }

    public String getPremium1() {
        return premium1;
    }

    public void setPremium1(String premium1) {
        this.premium1 = premium1 == null ? null : premium1.trim();
    }

    public String getPremium2() {
        return premium2;
    }

    public void setPremium2(String premium2) {
        this.premium2 = premium2 == null ? null : premium2.trim();
    }

    public String getPremium3() {
        return premium3;
    }

    public void setPremium3(String premium3) {
        this.premium3 = premium3 == null ? null : premium3.trim();
    }

    public String getOtherfee1() {
        return otherfee1;
    }

    public void setOtherfee1(String otherfee1) {
        this.otherfee1 = otherfee1 == null ? null : otherfee1.trim();
    }

    public String getOtherfee2() {
        return otherfee2;
    }

    public void setOtherfee2(String otherfee2) {
        this.otherfee2 = otherfee2 == null ? null : otherfee2.trim();
    }

    public String getOtherfee3() {
        return otherfee3;
    }

    public void setOtherfee3(String otherfee3) {
        this.otherfee3 = otherfee3 == null ? null : otherfee3.trim();
    }

    public String getReManifest() {
        return reManifest;
    }

    public void setReManifest(String reManifest) {
        this.reManifest = reManifest == null ? null : reManifest.trim();
    }

    public String getReRecordId() {
        return reRecordId;
    }

    public void setReRecordId(String reRecordId) {
        this.reRecordId = reRecordId == null ? null : reRecordId.trim();
    }

    public String getReJianguan() {
        return reJianguan;
    }

    public void setReJianguan(String reJianguan) {
        this.reJianguan = reJianguan == null ? null : reJianguan.trim();
    }

    public String getReYardId() {
        return reYardId;
    }

    public void setReYardId(String reYardId) {
        this.reYardId = reYardId == null ? null : reYardId.trim();
    }

    public String getExportPort() {
        return exportPort;
    }

    public void setExportPort(String exportPort) {
        this.exportPort = exportPort == null ? null : exportPort.trim();
    }

    public String getTexCompany() {
        return texCompany;
    }

    public void setTexCompany(String texCompany) {
        this.texCompany = texCompany == null ? null : texCompany.trim();
    }

    public String getLicenseNo() {
        return licenseNo;
    }

    public void setLicenseNo(String licenseNo) {
        this.licenseNo = licenseNo == null ? null : licenseNo.trim();
    }

    public String getSuifudan() {
        return suifudan;
    }

    public void setSuifudan(String suifudan) {
        this.suifudan = suifudan == null ? null : suifudan.trim();
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName == null ? null : shipName.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getCustomStatus() {
        return customStatus;
    }

    public void setCustomStatus(String customStatus) {
        this.customStatus = customStatus == null ? null : customStatus.trim();
    }

    public Date getCustomTime() {
        return customTime;
    }

    public void setCustomTime(Date customTime) {
        this.customTime = customTime;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus == null ? null : checkStatus.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getContainerinfoFileId() {
        return containerinfoFileId;
    }

    public void setContainerinfoFileId(String containerinfoFileId) {
        this.containerinfoFileId = containerinfoFileId == null ? null : containerinfoFileId.trim();
    }

    public Date getReportDate() {
        return reportDate;
    }

    public void setReportDate(Date reportDate) {
        this.reportDate = reportDate;
    }

    public String getProduceFactory() {
        return produceFactory;
    }

    public void setProduceFactory(String produceFactory) {
        this.produceFactory = produceFactory == null ? null : produceFactory.trim();
    }

    public String getContainerNo() {
        return containerNo;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo == null ? null : containerNo.trim();
    }

    public String getSeller() {
        return seller;
    }

    public void setSeller(String seller) {
        this.seller = seller == null ? null : seller.trim();
    }

    public String getSellerAddress() {
        return sellerAddress;
    }

    public void setSellerAddress(String sellerAddress) {
        this.sellerAddress = sellerAddress == null ? null : sellerAddress.trim();
    }

    public String getSellerPhone() {
        return sellerPhone;
    }

    public void setSellerPhone(String sellerPhone) {
        this.sellerPhone = sellerPhone == null ? null : sellerPhone.trim();
    }

    public String getSellerFax() {
        return sellerFax;
    }

    public void setSellerFax(String sellerFax) {
        this.sellerFax = sellerFax == null ? null : sellerFax.trim();
    }

    public String getCarton() {
        return carton;
    }

    public void setCarton(String carton) {
        this.carton = carton == null ? null : carton.trim();
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer == null ? null : buyer.trim();
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo == null ? null : invoiceNo.trim();
    }

    public String getIsWoodPackaging() {
        return isWoodPackaging;
    }

    public void setIsWoodPackaging(String isWoodPackaging) {
        this.isWoodPackaging = isWoodPackaging == null ? null : isWoodPackaging.trim();
    }

    public String getContractRemark() {
        return contractRemark;
    }

    public void setContractRemark(String contractRemark) {
        this.contractRemark = contractRemark == null ? null : contractRemark.trim();
    }

    public String getExportPortCode() {
        return exportPortCode;
    }

    public void setExportPortCode(String exportPortCode) {
        this.exportPortCode = exportPortCode == null ? null : exportPortCode.trim();
    }

    public String getTradeModeCode() {
        return tradeModeCode;
    }

    public void setTradeModeCode(String tradeModeCode) {
        this.tradeModeCode = tradeModeCode == null ? null : tradeModeCode.trim();
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney == null ? null : totalMoney.trim();
    }

    public String getSumCount() {
        return sumCount;
    }

    public void setSumCount(String sumCount) {
        this.sumCount = sumCount == null ? null : sumCount.trim();
    }

    public String getSo() {
        return so;
    }

    public void setSo(String so) {
        this.so = so == null ? null : so.trim();
    }

    public Date getContractDate() {
        return contractDate;
    }

    public void setContractDate(Date contractDate) {
        this.contractDate = contractDate;
    }

    public Date getMakingDate() {
        return makingDate;
    }

    public void setMakingDate(Date makingDate) {
        this.makingDate = makingDate;
    }

    public String getSingingPlace() {
        return singingPlace;
    }

    public void setSingingPlace(String singingPlace) {
        this.singingPlace = singingPlace == null ? null : singingPlace.trim();
    }

    public String getConcreteGoodsPackage() {
        return concreteGoodsPackage;
    }

    public void setConcreteGoodsPackage(String concreteGoodsPackage) {
        this.concreteGoodsPackage = concreteGoodsPackage == null ? null : concreteGoodsPackage.trim();
    }

    public String getWorkNo() {
        return workNo;
    }

    public void setWorkNo(String workNo) {
        this.workNo = workNo == null ? null : workNo.trim();
    }

    public String getIsRecordInfo() {
        return isRecordInfo;
    }

    public void setIsRecordInfo(String isRecordInfo) {
        this.isRecordInfo = isRecordInfo == null ? null : isRecordInfo.trim();
    }

    public String getContractTermsType() {
        return contractTermsType;
    }

    public void setContractTermsType(String contractTermsType) {
        this.contractTermsType = contractTermsType == null ? null : contractTermsType.trim();
    }

    public String getOtherGoodsAddr() {
        return otherGoodsAddr;
    }

    public void setOtherGoodsAddr(String otherGoodsAddr) {
        this.otherGoodsAddr = otherGoodsAddr == null ? null : otherGoodsAddr.trim();
    }

    public String getDeclarationPort() {
        return declarationPort;
    }

    public void setDeclarationPort(String declarationPort) {
        this.declarationPort = declarationPort == null ? null : declarationPort.trim();
    }

    public String getDeclarationPortCode() {
        return declarationPortCode;
    }

    public void setDeclarationPortCode(String declarationPortCode) {
        this.declarationPortCode = declarationPortCode == null ? null : declarationPortCode.trim();
    }

    public String getContainerNoShow() {
        return containerNoShow;
    }

    public void setContainerNoShow(String containerNoShow) {
        this.containerNoShow = containerNoShow == null ? null : containerNoShow.trim();
    }

    public String getIsShipment() {
        return isShipment;
    }

    public void setIsShipment(String isShipment) {
        this.isShipment = isShipment == null ? null : isShipment.trim();
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType == null ? null : paymentType.trim();
    }

    public String getLevymodeCode() {
        return levymodeCode;
    }

    public void setLevymodeCode(String levymodeCode) {
        this.levymodeCode = levymodeCode == null ? null : levymodeCode.trim();
    }

    public String getGoodsAddrCode() {
        return goodsAddrCode;
    }

    public void setGoodsAddrCode(String goodsAddrCode) {
        this.goodsAddrCode = goodsAddrCode == null ? null : goodsAddrCode.trim();
    }

    public String getArrivedCountryCode() {
        return arrivedCountryCode;
    }

    public void setArrivedCountryCode(String arrivedCountryCode) {
        this.arrivedCountryCode = arrivedCountryCode == null ? null : arrivedCountryCode.trim();
    }

    public String getArrivedPortCode() {
        return arrivedPortCode;
    }

    public void setArrivedPortCode(String arrivedPortCode) {
        this.arrivedPortCode = arrivedPortCode == null ? null : arrivedPortCode.trim();
    }

    public String getTradingCountry() {
        return tradingCountry;
    }

    public void setTradingCountry(String tradingCountry) {
        this.tradingCountry = tradingCountry == null ? null : tradingCountry.trim();
    }

    public String getTradingCountryCode() {
        return tradingCountryCode;
    }

    public void setTradingCountryCode(String tradingCountryCode) {
        this.tradingCountryCode = tradingCountryCode == null ? null : tradingCountryCode.trim();
    }

    public String getSpecialRelationshipConfirm() {
        return specialRelationshipConfirm;
    }

    public void setSpecialRelationshipConfirm(String specialRelationshipConfirm) {
        this.specialRelationshipConfirm = specialRelationshipConfirm == null ? null : specialRelationshipConfirm.trim();
    }

    public String getPriceImpactConfirm() {
        return priceImpactConfirm;
    }

    public void setPriceImpactConfirm(String priceImpactConfirm) {
        this.priceImpactConfirm = priceImpactConfirm == null ? null : priceImpactConfirm.trim();
    }

    public String getPaymentRoyaltilsConfirm() {
        return paymentRoyaltilsConfirm;
    }

    public void setPaymentRoyaltilsConfirm(String paymentRoyaltilsConfirm) {
        this.paymentRoyaltilsConfirm = paymentRoyaltilsConfirm == null ? null : paymentRoyaltilsConfirm.trim();
    }

    public String getCompanyCoUnite() {
        return companyCoUnite;
    }

    public void setCompanyCoUnite(String companyCoUnite) {
        this.companyCoUnite = companyCoUnite == null ? null : companyCoUnite.trim();
    }

    public String getFahuoCompanyCoUnite() {
        return fahuoCompanyCoUnite;
    }

    public void setFahuoCompanyCoUnite(String fahuoCompanyCoUnite) {
        this.fahuoCompanyCoUnite = fahuoCompanyCoUnite == null ? null : fahuoCompanyCoUnite.trim();
    }

    public String getShenbaoCompanyCoUnite() {
        return shenbaoCompanyCoUnite;
    }

    public void setShenbaoCompanyCoUnite(String shenbaoCompanyCoUnite) {
        this.shenbaoCompanyCoUnite = shenbaoCompanyCoUnite == null ? null : shenbaoCompanyCoUnite.trim();
    }

    public String getDidanFileId() {
        return didanFileId;
    }

    public void setDidanFileId(String didanFileId) {
        this.didanFileId = didanFileId == null ? null : didanFileId.trim();
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType == null ? null : dataType.trim();
    }

    public String getShipCode() {
        return shipCode;
    }

    public void setShipCode(String shipCode) {
        this.shipCode = shipCode == null ? null : shipCode.trim();
    }

    public String getDeclarationType() {
        return declarationType;
    }

    public void setDeclarationType(String declarationType) {
        this.declarationType = declarationType == null ? null : declarationType.trim();
    }

    public String getUnityno() {
        return unityno;
    }

    public void setUnityno(String unityno) {
        this.unityno = unityno == null ? null : unityno.trim();
    }

    public String getDeclareState() {
        return declareState;
    }

    public void setDeclareState(String declareState) {
        this.declareState = declareState == null ? null : declareState.trim();
    }

    public String getDeclareCustoms() {
        return declareCustoms;
    }

    public void setDeclareCustoms(String declareCustoms) {
        this.declareCustoms = declareCustoms == null ? null : declareCustoms.trim();
    }

    public String getDeclareCustomsCode() {
        return declareCustomsCode;
    }

    public void setDeclareCustomsCode(String declareCustomsCode) {
        this.declareCustomsCode = declareCustomsCode == null ? null : declareCustomsCode.trim();
    }

    public String getDeclareType() {
        return declareType;
    }

    public void setDeclareType(String declareType) {
        this.declareType = declareType == null ? null : declareType.trim();
    }

    public String getCustomsTypeCode() {
        return customsTypeCode;
    }

    public void setCustomsTypeCode(String customsTypeCode) {
        this.customsTypeCode = customsTypeCode == null ? null : customsTypeCode.trim();
    }

    public String getGoodsPackageCode() {
        return goodsPackageCode;
    }

    public void setGoodsPackageCode(String goodsPackageCode) {
        this.goodsPackageCode = goodsPackageCode == null ? null : goodsPackageCode.trim();
    }

    public String getTransportModeCode() {
        return transportModeCode;
    }

    public void setTransportModeCode(String transportModeCode) {
        this.transportModeCode = transportModeCode == null ? null : transportModeCode.trim();
    }

    public String getCompanyNaem() {
        return companyNaem;
    }

    public void setCompanyNaem(String companyNaem) {
        this.companyNaem = companyNaem == null ? null : companyNaem.trim();
    }

    public String getDeclarUp() {
        return declarUp;
    }

    public void setDeclarUp(String declarUp) {
        this.declarUp = declarUp == null ? null : declarUp.trim();
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType == null ? null : tradeType.trim();
    }

    public String getActionChain() {
        return actionChain;
    }

    public void setActionChain(String actionChain) {
        this.actionChain = actionChain == null ? null : actionChain.trim();
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Company getSupCompany() {
        return supCompany;
    }

    public void setSupCompany(Company supCompany) {
        this.supCompany = supCompany;
    }

    public Company getCustomerCompany() {
        return customerCompany;
    }

    public void setCustomerCompany(Company customerCompany) {
        this.customerCompany = customerCompany;
    }

    public String getGoodsItemNum() {
        return goodsItemNum;
    }

    public void setGoodsItemNum(String goodsItemNum) {
        this.goodsItemNum = goodsItemNum;
    }

    public String getContainerNum() {
        return containerNum;
    }

    public void setContainerNum(String containerNum) {
        this.containerNum = containerNum;
    }

    public String getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(String lockStatus) {
        this.lockStatus = lockStatus;
    }

    public List<DeclaCheckTracking> getDeclaCheckTrackingList() {
        return declaCheckTrackingList;
    }

    public void setDeclaCheckTrackingList(List<DeclaCheckTracking> declaCheckTrackingList) {
        this.declaCheckTrackingList = declaCheckTrackingList;
    }

    public String getDeclaStatus() {
        if (StringUtils.isNotEmpty(declaStatus)) {
            CargoDeclaRecord cargoDeclaRecord = new CargoDeclaRecord();
            cargoDeclaRecord.setUploadWay(this.uploadWay);
            cargoDeclaRecord.setStatus(declaStatus);
            this.declaStatus = cargoDeclaRecord.getStatusLab();
        }
        return declaStatus;
    }

    public void setDeclaStatus(String declaStatus) {
        this.declaStatus = declaStatus;
    }

    public List<LicenseDocu> getLicenseDocuList() {
        return licenseDocuList;
    }

    public void setLicenseDocuList(List<LicenseDocu> licenseDocuList) {
        this.licenseDocuList = licenseDocuList;
    }

    public List<Container> getContainerList() {
        return containerList;
    }

    public void setContainerList(List<Container> containerList) {
        this.containerList = containerList;
    }

    public List<Commodity> getCommodityList() {
        return commodityList;
    }

    public void setCommodityList(List<Commodity> commodityList) {
        this.commodityList = commodityList;
    }

    public String getInvNo() {
        return invNo;
    }

    public void setInvNo(String invNo) {
        this.invNo = invNo;
    }

    public String getUploadWay() {
        return uploadWay;
    }

    public void setUploadWay(String uploadWay) {
        this.uploadWay = uploadWay;
    }

    public String getFailInfo() {
        return failInfo;
    }

    public void setFailInfo(String failInfo) {
        this.failInfo = failInfo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sno=").append(sno);
        sb.append(", blNo=").append(blNo);
        sb.append(", companyCo=").append(companyCo);
        sb.append(", fahuoCompanyCo=").append(fahuoCompanyCo);
        sb.append(", transportNa=").append(transportNa);
        sb.append(", voyageNo=").append(voyageNo);
        sb.append(", arrivedCountry=").append(arrivedCountry);
        sb.append(", arrivedPort=").append(arrivedPort);
        sb.append(", goodsAddr=").append(goodsAddr);
        sb.append(", approvalNo=").append(approvalNo);
        sb.append(", dealMode=").append(dealMode);
        sb.append(", goodsCount=").append(goodsCount);
        sb.append(", goodsPackage=").append(goodsPackage);
        sb.append(", netWeight=").append(netWeight);
        sb.append(", remark=").append(remark);
        sb.append(", tradeMode=").append(tradeMode);
        sb.append(", companyName=").append(companyName);
        sb.append(", transportMode=").append(transportMode);
        sb.append(", fahuoCompanyName=").append(fahuoCompanyName);
        sb.append(", levymode=").append(levymode);
        sb.append(", lcType=").append(lcType);
        sb.append(", contractNo=").append(contractNo);
        sb.append(", grossWeight=").append(grossWeight);
        sb.append(", customsType=").append(customsType);
        sb.append(", recordId=").append(recordId);
        sb.append(", exportDate=").append(exportDate);
        sb.append(", shenbaoCompanyCo=").append(shenbaoCompanyCo);
        sb.append(", shenbaoCompanyName=").append(shenbaoCompanyName);
        sb.append(", freight1=").append(freight1);
        sb.append(", freight2=").append(freight2);
        sb.append(", freight3=").append(freight3);
        sb.append(", premium1=").append(premium1);
        sb.append(", premium2=").append(premium2);
        sb.append(", premium3=").append(premium3);
        sb.append(", otherfee1=").append(otherfee1);
        sb.append(", otherfee2=").append(otherfee2);
        sb.append(", otherfee3=").append(otherfee3);
        sb.append(", reManifest=").append(reManifest);
        sb.append(", reRecordId=").append(reRecordId);
        sb.append(", reJianguan=").append(reJianguan);
        sb.append(", reYardId=").append(reYardId);
        sb.append(", exportPort=").append(exportPort);
        sb.append(", texCompany=").append(texCompany);
        sb.append(", licenseNo=").append(licenseNo);
        sb.append(", suifudan=").append(suifudan);
        sb.append(", shipName=").append(shipName);
        sb.append(", state=").append(state);
        sb.append(", customStatus=").append(customStatus);
        sb.append(", customTime=").append(customTime);
        sb.append(", checkStatus=").append(checkStatus);
        sb.append(", checkTime=").append(checkTime);
        sb.append(", containerinfoFileId=").append(containerinfoFileId);
        sb.append(", reportDate=").append(reportDate);
        sb.append(", produceFactory=").append(produceFactory);
        sb.append(", containerNo=").append(containerNo);
        sb.append(", seller=").append(seller);
        sb.append(", sellerAddress=").append(sellerAddress);
        sb.append(", sellerPhone=").append(sellerPhone);
        sb.append(", sellerFax=").append(sellerFax);
        sb.append(", carton=").append(carton);
        sb.append(", buyer=").append(buyer);
        sb.append(", invoiceNo=").append(invoiceNo);
        sb.append(", isWoodPackaging=").append(isWoodPackaging);
        sb.append(", contractRemark=").append(contractRemark);
        sb.append(", exportPortCode=").append(exportPortCode);
        sb.append(", tradeModeCode=").append(tradeModeCode);
        sb.append(", totalMoney=").append(totalMoney);
        sb.append(", sumCount=").append(sumCount);
        sb.append(", so=").append(so);
        sb.append(", contractDate=").append(contractDate);
        sb.append(", makingDate=").append(makingDate);
        sb.append(", singingPlace=").append(singingPlace);
        sb.append(", concreteGoodsPackage=").append(concreteGoodsPackage);
        sb.append(", workNo=").append(workNo);
        sb.append(", isRecordInfo=").append(isRecordInfo);
        sb.append(", contractTermsType=").append(contractTermsType);
        sb.append(", otherGoodsAddr=").append(otherGoodsAddr);
        sb.append(", declarationPort=").append(declarationPort);
        sb.append(", declarationPortCode=").append(declarationPortCode);
        sb.append(", containerNoShow=").append(containerNoShow);
        sb.append(", isShipment=").append(isShipment);
        sb.append(", paymentType=").append(paymentType);
        sb.append(", levymodeCode=").append(levymodeCode);
        sb.append(", goodsAddrCode=").append(goodsAddrCode);
        sb.append(", arrivedCountryCode=").append(arrivedCountryCode);
        sb.append(", arrivedPortCode=").append(arrivedPortCode);
        sb.append(", tradingCountry=").append(tradingCountry);
        sb.append(", tradingCountryCode=").append(tradingCountryCode);
        sb.append(", specialRelationshipConfirm=").append(specialRelationshipConfirm);
        sb.append(", priceImpactConfirm=").append(priceImpactConfirm);
        sb.append(", paymentRoyaltilsConfirm=").append(paymentRoyaltilsConfirm);
        sb.append(", companyCoUnite=").append(companyCoUnite);
        sb.append(", fahuoCompanyCoUnite=").append(fahuoCompanyCoUnite);
        sb.append(", shenbaoCompanyCoUnite=").append(shenbaoCompanyCoUnite);
        sb.append(", didanFileId=").append(didanFileId);
        sb.append(", dataType=").append(dataType);
        sb.append(", shipCode=").append(shipCode);
        sb.append(", declarationType=").append(declarationType);
        sb.append(", unityno=").append(unityno);
        sb.append(", declareState=").append(declareState);
        sb.append(", declareCustoms=").append(declareCustoms);
        sb.append(", declareCustomsCode=").append(declareCustomsCode);
        sb.append(", declareType=").append(declareType);
        sb.append(", customsTypeCode=").append(customsTypeCode);
        sb.append(", goodsPackageCode=").append(goodsPackageCode);
        sb.append(", transportModeCode=").append(transportModeCode);
        sb.append(", companyNaem=").append(companyNaem);
        sb.append(", declarUp=").append(declarUp);
        sb.append(", tradeType=").append(tradeType);
        sb.append(", actionChain=").append(actionChain);
        sb.append(", paymentTime=").append(paymentTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    /**
     * 报关业务状态
     */
    public class DeclarationBusinessState {
        /**
         * 草稿状态
         */
        public static final String DRAFT_STATE = "DS00";
        /**
         * 用户提交，已下单，待审核
         */
        public static final String ORDER_STATE = "DS01";
        /**
         * 平台审核通过
         */
        public static final String PASS_STATE = "DS02";
        /**
         * 驳回状态
         */
        public static final String REJECT_STATE = "DS03";
        /**
         * 驳回等待客户修改提交状态
         */
        public static final String REJECT_WAIT_REDIT_STATE = "DS030";
        /**
         * 已受理状态,佛港专用状态
         */
        public static final String ACCEPT_STATE = "DS04";
        /**
         * 已完成状态
         */
        public static final String COMPLETE_STATE = "DS05";
        /**
         * 初审,佛港专用状态
         */
        public static final String FIR_PASS = "DS06";
        /**
         * 复审,佛港专用状态
         */
        public static final String SEC_PAS = "DS07";
        /**
         * 现场提交,佛港专用状态
         */
        public static final String SCENE_SUBMIT = "DS08";
        /**
         * 海关查货
         */
        public static final String CUSTOM_CHECK = "DS09";
        /**
         * 海关放行
         */
        public static final String CUSTOM_PASS = "DS10";
        /**
         * 商检放行
         */
        public static final String COMMODITY_PASS = "DS11";
        /**
         * 海关退单
         */
        public static final String CUSTOM_CHARGEBACK = "DS13";

        /**
         * 查验状态
         */
        public static final String VERIFY_ING = "DS120";//查验中
        public static final String VERIFY_DOME = "DS121";//查验完成
        public static final String VERIFY_FAIL = "DS122";//查验不通过
        public static final String VERIFY_PASS = "DS124";//海关放行
        public static final String VERIFY_SJ_PASS = "DS125";//商检放行
        public static final String VERIFY_OT_PASS = "DS126";//其他放行


    }

    /**
     * 进口类型
     */
    public static final String DECLARATION_TYPE_ENTRY = "I";
    /**
     * 出口类型
     */
    public static final String DECLARATION_TYPE_EXPORT = "E";
    /**
     * 一般贸易
     */
    public static final String TRADE_TYPE_GENERAL = "0";
    /**
     * 加工贸易
     */
    public static final String TRADE_TYPE_Process = "1";
    /**
     * 特殊贸易
     */
    public static final String TRADE_TYPE_Special = "2";
}
